/*
 * @Description: 测试类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-08-01 10:03:34
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-08-01 11:17:13
 */

public class Test {
  public static void main(String[] args) {
    Programmer programmer = new Programmer("1", "张三", "初级");
    programmer.doWork();

    Manager manager = new Manager("2", "李四", 2000.0);
    manager.doWork();

    System.out.println("programmer"); // Programmer@0x1254
    System.out.println(programmer); // Programmer@0x1254
    System.out.println(manager);
  }
}